func github.com/lucasb-eyer/go-colorful.sq

50 uses

	github.com/lucasb-eyer/go-colorful (current package)
		colors.go#L84: func sq(v float64) float64 {
		colors.go#L95: 	return math.Sqrt(sq(c1.R-c2.R) + sq(c1.G-c2.G) + sq(c1.B-c2.B))
		colors.go#L104: 	return math.Sqrt(sq(r1-r2) + sq(g1-g2) + sq(b1-b2))
		colors.go#L674: 	return math.Sqrt(sq(l1-l2) + sq(a1-a2) + sq(b1-b2))
		colors.go#L702: 	c1 := math.Sqrt(sq(a1) + sq(b1))
		colors.go#L703: 	c2 := math.Sqrt(sq(a2) + sq(b2))
		colors.go#L707: 	deltaHab2 := sq(a1-a2) + sq(b1-b2) - sq(deltaCab)
		colors.go#L712: 	vL2 := sq(deltaL / (kl * sl))
		colors.go#L713: 	vC2 := sq(deltaCab / (kc * sc))
		colors.go#L714: 	vH2 := deltaHab2 / sq(kh*sh)
		colors.go#L737: 	cab1 := math.Sqrt(sq(a1) + sq(b1))
		colors.go#L738: 	cab2 := math.Sqrt(sq(a2) + sq(b2))
		colors.go#L744: 	cp1 := math.Sqrt(sq(ap1) + sq(b1))
		colors.go#L745: 	cp2 := math.Sqrt(sq(ap2) + sq(b2))
		colors.go#L793: 	deltaTheta := 30 * math.Exp(-sq((hpmean-275)/25))
		colors.go#L795: 	sl := 1 + (0.015*sq(lpmean-50))/math.Sqrt(20+sq(lpmean-50))
		colors.go#L800: 	return math.Sqrt(sq(deltaLp/(kl*sl))+sq(deltaCp/(kc*sc))+sq(deltaHp/(kh*sh))+rt*(deltaCp/(kc*sc))*(deltaHp/(kh*sh))) * 0.01
		colors.go#L910: 	return math.Sqrt(sq(l1-l2) + sq(u1-u2) + sq(v1-v2))
		colors.go#L943: 	c = math.Sqrt(sq(a) + sq(b))
		colors.go#L1013: 	c = math.Sqrt(sq(u) + sq(v))
		hsluv.go#L127: 	return math.Sqrt(sq((h1-h2)/100.0) + sq(s1-s2) + sq(l1-l2))
		hsluv.go#L138: 	return math.Sqrt(sq((h1-h2)/100.0) + sq(s1-s2) + sq(l1-l2))
		soft_palettegen.go#L183: 	return math.Sqrt(sq(lab1.L-lab2.L) + sq(lab1.A-lab2.A) + sq(lab1.B-lab2.B))